/**
 * Created Date: Saturday, April 8th 2023, 2:02:52 pm
 * Author: CodingGorit
 * -----
 * Last Modified: Fri Apr 21 2023
 * Modified By: CodingGorit
 * -----
 * Copyright © 2019 —— 2023 fmin-courses All Rights Reserved
 * ------------------------------------
 * Javascript will save your soul!
 */

export interface IResult<T = any> {
    code: number,
    msg: string,
    data: T
}

export interface IPage<T = any> {
    currentPage: number,
    index: number,
    pageSize: number,
    totalPage?: number,
    totalCount?: number,
    list: Array<T>,
    params?: any,
    sortColumn?: string,
    sortMethod?: string
}

export interface IAdminInfo {
    adminId: string,
    name: string,
    header: string,
    signature: string
}